using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace OnlineAnadolu
{
    public partial class UrunDetay : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            SqlDataSource2.SelectCommand = "SELECT attributes.attributename as Ozellik, attributevalues.value as Deger FROM attributevalues INNER JOIN productattributes ON attributevalues.id = productattributes.avid INNER JOIN attributes ON attributevalues.attributeid = attributes.attributeid WHERE (productattributes.productid = '"+Session["idproduct"].ToString()+"')";
            GridView1.DataBind();
            

        }

        protected void bt_Geri_Click(object sender, EventArgs e)
        {
          //  string s = Request.UrlReferrer.ToString();
            Response.Redirect(Session["nerdeyim"].ToString());
            
        }

    }
}
